package com.oo.packaging_2.hero;

/**
 * HeroTest--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 13:55
 **/
public class HeroTest {

    public static void main(String[] args) {
        Skill knife = new Skill("死神镰刀", 12, 5, 26);
        Skill wind = new Skill("火风之舞", 30, 10, 4);

        Hero hero = new Hero("李晓霞", 300, 50, 20, wind);
        System.out.println(hero.attack());
        System.out.println("=================");
        hero.recovery(80);
        System.out.println("=================");
        hero.learn(knife);

    }

}
